﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace ES.Model
{
    [DataContract]
    public class EventTypeAggModel1
    {
        [DataMember(Name = "会议类型")]
        public string EventType { get; set; }

        [DataMember(Name = "会议数量")]
        public int EventCount { get; set; }

        [DataMember(Name = "参会人数")]
        public double JoinCount { get; set; }

        [DataMember(Name = "1月")]
        public int Month1Count { get; set; }
        [DataMember(Name = "2月")]
        public int Month2Count { get; set; }
        [DataMember(Name = "3月")]
        public int Month3Count { get; set; }
        [DataMember(Name = "4月")]
        public int Month4Count { get; set; }
        [DataMember(Name = "5月")]
        public int Month5Count { get; set; }
        [DataMember(Name = "6月")]
        public int Month6Count { get; set; }
        [DataMember(Name = "7月")]
        public int Month7Count { get; set; }
        [DataMember(Name = "8月")]
        public int Month8Count { get; set; }
        [DataMember(Name = "9月")]
        public int Month9Count { get; set; }
        [DataMember(Name = "10月")]
        public int Month10Count { get; set; }
        [DataMember(Name = "11月")]
        public int Month11Count { get; set; }
        [DataMember(Name = "12月")]
        public int Month12Count { get; set; }

        [DataMember(Name = "0.5天")]
        public int Hour12Count { get; set; }
        [DataMember(Name = "1天")]
        public int Hour24Count { get; set; }
        [DataMember(Name = "2天")]
        public int Hour48Count { get; set; }
        [DataMember(Name = "3天或以上")]
        public int Hour72Count { get; set; }

        [DataMember(Name = "0-49")]
        public int JoinCount0_49 { get; set; }
        [DataMember(Name = "50-99")]
        public int JoinCount50_99 { get; set; }
        [DataMember(Name = "100-199")]
        public int JoinCount100_199 { get; set; }
        [DataMember(Name = "200-499")]
        public int JoinCount200_499 { get; set; }
        [DataMember(Name = "500-999")]
        public int JoinCount500_999 { get; set; }
        [DataMember(Name = "1000或以上")]
        public int JoinCount1000 { get; set; }
    }

    [DataContract]
    public class EventTypeAggModel2
    {
        [DataMember(Name = "城市")]
        public string City { get; set; }

        [DataMember(Name = "会议数量")]
        public int EventCount { get; set; }

        [DataMember(Name = "参会人数")]
        public int JoinCount { get; set; }

        [DataMember(Name = "1月")]
        public int Month1Count { get; set; }
        [DataMember(Name = "2月")]
        public int Month2Count { get; set; }
        [DataMember(Name = "3月")]
        public int Month3Count { get; set; }
        [DataMember(Name = "4月")]
        public int Month4Count { get; set; }
        [DataMember(Name = "5月")]
        public int Month5Count { get; set; }
        [DataMember(Name = "6月")]
        public int Month6Count { get; set; }
        [DataMember(Name = "7月")]
        public int Month7Count { get; set; }
        [DataMember(Name = "8月")]
        public int Month8Count { get; set; }
        [DataMember(Name = "9月")]
        public int Month9Count { get; set; }
        [DataMember(Name = "10月")]
        public int Month10Count { get; set; }
        [DataMember(Name = "11月")]
        public int Month11Count { get; set; }
        [DataMember(Name = "12月")]
        public int Month12Count { get; set; }

        [DataMember(Name = "0.5天")]
        public int Hour12Count { get; set; }
        [DataMember(Name = "1天")]
        public int Hour24Count { get; set; }
        [DataMember(Name = "2天")]
        public int Hour48Count { get; set; }
        [DataMember(Name = "3天或以上")]
        public int Hour72Count { get; set; }

        [DataMember(Name = "0-49")]
        public int JoinCount0_49 { get; set; }
        [DataMember(Name = "50-99")]
        public int JoinCount50_99 { get; set; }
        [DataMember(Name = "100-199")]
        public int JoinCount100_199 { get; set; }
        [DataMember(Name = "200-499")]
        public int JoinCount200_499 { get; set; }
        [DataMember(Name = "500-999")]
        public int JoinCount500_999 { get; set; }
        [DataMember(Name = "1000或以上")]
        public int JoinCount1000 { get; set; }
    }

    [DataContract]
    public class EventTypeAggModel3
    {
        [DataMember(Name = "会议类型")]
        public string EventType { get; set; }

        [DataMember(Name = "会议数量")]
        public int EventCount { get; set; }

        [DataMember(Name = "免费")]
        public int FreeCount { get; set; }

        [DataMember(Name = "收费")]
        public int NonFreeCount { get; set; }
    }
}
